Auto merge of #2418 - alexcrichton:update-git2, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 26 Feb 2016 21:50:11 +0000 (21:50 +0000)
committerbors <bors@rust-lang.org>
Fri, 26 Feb 2016 21:50:11 +0000 (21:50 +0000)
commit7a42f8049e9b9f813e458fb035f0cc6addbdba53
tree38ffc45d00f39b2a21a4231464c2365a915018df
parent3efd44b8981e2be8d8b22112a9ff83e687ded143
parent333ba43fe207520000d544de703d5abfd43b1385
Auto merge of #2418 - alexcrichton:update-git2, r=alexcrichton

This crate was recently updated to the next release of libgit2, and I've noticed
historically that a noop `cargo build` was slow in the git2-rs repository.
Curious to see if the new libgit2 version helped speed things up at all, I
tested it out.

Before this commit, a noop `cargo build` produced 599108 syscalls. After this
commit, a noop build produced 86925 syscalls, an 85% reduction in the number of
syscalls! Needless to say it's much faster.